home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / FPSE_src / system / amiga / plugin / gpu / prim2.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-01  |  2.0 KB  |  160 lines

  1. /* 02 */
  2. typedef struct {
  3.      COLOR     c;
  4.      POINT_F   v;
  5. #ifdef MSB_FIRST
  6.      short     h,w;
  7. #else
  8.      short     w,h;
  9. #endif
  10. } Fill;
  11.  
  12. /* 20 */
  13. typedef struct {
  14.      COLOR     c;
  15.      POINT_F   v[3];
  16. } PolyF3;
  17.  
  18. /* 24 */
  19. typedef struct {
  20.      COLOR     c;
  21.      POINT_FT  v[3];
  22. } PolyFT3;
  23.  
  24. /* 30 */
  25. typedef struct {
  26.      POINT_G   v[3];
  27. } PolyG3;
  28.  
  29. /* 34 */
  30. typedef struct {
  31.      POINT_GT  v[3];
  32. } PolyGT3;
  33.  
  34. /* 28 */
  35. typedef struct {
  36.      COLOR     c;
  37.      POINT_F   v[4];
  38. } PolyF4;
  39.  
  40. /* 2c */
  41. typedef struct {
  42.      COLOR     c;
  43.      POINT_FT  v[4];
  44. } PolyFT4;
  45.  
  46. /* 38 */
  47. typedef struct {
  48.      POINT_G   v[4];
  49. } PolyG4;
  50.  
  51. /* 3c */
  52. typedef struct {
  53.      POINT_GT  v[4];
  54. } PolyGT4;
  55.  
  56. /* 40 */
  57. typedef struct {
  58.      COLOR     c;
  59.      POINT_F   v[2];
  60. } LineF2;
  61.  
  62. /* 48 */
  63. typedef struct {
  64.      COLOR     c;
  65.      POINT_F   v[3];
  66.      long reserved;
  67. } LineF3;
  68.  
  69. /* 4c */
  70. typedef struct {
  71.      COLOR     c;
  72.      POINT_F   v[4];
  73.      long reserved;
  74. } LineF4;
  75.  
  76. /* 50 */
  77. typedef struct {
  78.      COLOR     c;
  79.      POINT_G   v[2];
  80. } LineG2;
  81.  
  82. /* 58 */
  83. typedef struct {
  84.      COLOR     c;
  85.      POINT_G   v[3];
  86.      long reserved;
  87. } LineG3;
  88.  
  89. /* 5c */
  90. typedef struct {
  91.      COLOR     c;
  92.      POINT_G   v[4];
  93.      long reserved;
  94. } LineG4;
  95.  
  96. /* 60 */
  97. typedef struct {
  98.      COLOR     c;
  99.      POINT_F   v;
  100. #ifdef MSB_FIRST
  101.      short     h,w;
  102. #else
  103.      short     w,h;
  104. #endif
  105. } Tile;
  106.  
  107. /* 64 */
  108. typedef struct {
  109.      COLOR     c;
  110.      POINT_FT  v;
  111. #ifdef MSB_FIRST
  112.      short     h,w;
  113. #else
  114.      short     w,h;
  115. #endif
  116. } Sprt;
  117.  
  118. /* 68 */
  119. typedef struct {
  120.      COLOR     c;
  121.      POINT_F   v;
  122. } Tile1;
  123.  
  124. /* 70 */
  125. typedef struct {
  126.      COLOR     c;
  127.      POINT_F   v;
  128. } Tile8;
  129.  
  130. /* 74 */
  131. typedef struct {
  132.      COLOR     c;
  133.      POINT_FT  v;
  134. } Sprt8;
  135.  
  136. /* 78 */
  137. typedef struct {
  138.      COLOR     c;
  139.      POINT_F   v;
  140. } Tile16;
  141.  
  142. /* 70 */
  143. typedef struct {
  144.      COLOR     c;
  145.      POINT_FT  v;
  146. } Sprt16;
  147.  
  148. /* 80 */
  149. typedef struct {
  150.      COLOR c;
  151. #ifdef MSB_FIRST
  152.      short y0,x0;
  153.      short y1,x1;
  154.      short h,w;
  155. #else
  156.      short x0,y0;
  157.      short x1,y1;
  158.      short w,h;
  159. #endif
  160. } Move;